package com.heima.model.admin.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色权限信息表
 *
 * @TableName ad_role_auth
 */
@TableName(value = "ad_role_auth")
@Data
public class AdRoleAuth implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(value = "id")
    private Object id;
    /**
     * 角色ID
     */
    @TableField(value = "role_id")
    private Object role_id;
    /**
     * 资源类型
     * 0 菜单
     * 1 功能
     */
    @TableField(value = "type")
    private Integer type;
    /**
     * 资源ID
     */
    @TableField(value = "entry_id")
    private Object entry_id;
    /**
     * 登录时间
     */
    @TableField(value = "created_time")

    private Date createdTime;
}